package one.stand.fallback;

import one.stand.entity.excel.BusinessExcelEntity;
import one.stand.entity.excel.CompanyExcelEntity;
import one.stand.feign.AdminFegin;
import one.stand.model.AdminRecordModel;
import one.stand.model.FinanceModel;
import one.stand.model.MenuModel;
import one.stand.model.ResultModel;
import one.stand.request.*;
import one.stand.response.*;
import one.stand.util.ExportDataDTO;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author zrh
 */
@Component
public class AdminFallBack implements AdminFegin {

    @Override
    public ResultModel<AdminResponse> login(AdminRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> checkingToken(String token) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<FinanceModel> indexData(FinanceRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> selectAdminRecordList(AdminRecordRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, List<Map<String, Object>>>> newCountList(FinanceRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> dataCenter(FinanceRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<List<Map<String, Object>>> newUserCountList(FinanceRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<List<Map<String, Object>>> userUseCountList(FinanceRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<List<Map<String, Object>>> userSexCount(FinanceRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> selectCompanyList(CompanyRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<ExportDataDTO<CompanyExcelEntity>> selectCompanyListExport(CompanyRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<CompanyResponse> getAdminCompanyInfo(CompanyRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> selectAgentCompanyList(CompanyRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> configureAgen(CompanyRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> selectAdminList(AdminRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Integer> saveAdmin(AdminRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> inserAdminRole(AdminRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> delAdmin(AdminRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<List<MenuModel>> selectMenuList(AdminRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> updateAgentCompanyId(CompanyRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> appletCodeManageList(VersionRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<VersionResponse> appletCodeManageInfo(VersionRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> addVersionInfo(VersionRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel auditCompany(CompanyRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel addCompanyService(CompanyServiceRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> auditBusinessCard(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> selectCustomerList(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<ExportDataDTO<BusinessExcelEntity>> selectCustomerListExport(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<BusinessCardResponse> getCustomerInfo(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> stopCustomer(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<List<String>> selectAppId(Integer versionId) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> selectCompanyAccountList(CompanyAccountRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Map<String, Object>> selectNoticeList(NoticeRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<NoticeResponse> getNoticeInfo(NoticeRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> insertNotice(NoticeRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> delNotice(NoticeRequest request) {
        return ResultModel.faultTolerant();
    }
}
